import Vue from 'vue';
import App from './App';
import iView from 'iview';
import Axios from "axios";
import { Picker} from 'mint-ui';
import 'iview/dist/styles/iview.css';
import 'mint-ui/lib/style.css'
import Store from './store/index';
import Router from './router/index';


Vue.config.productionTip = false
Vue.prototype.$axios = Axios;
Axios.defaults.baseURL = '/api';
Vue.use(iView);
Vue.component(Picker.name, Picker);


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router:Router,
  store: Store,
  render: h => h(App)
})
